package kr.as3.component.ui
{
	import flash.events.Event;
	import flash.geom.Point;

	public class DragFrameEvent extends Event
	{
		static public const DRAG_MARGIN: String = "dragMargin";
		
		private var _margin: Point;
		public function get margin(): Point
		{
			return this._margin.clone();
		}
		
		public function DragFrameEvent( $type: String, $margin: Point = null )
		{
			this._margin = $margin ? $margin.clone() : null;
			
			super( $type );
		}
	}
}